package com.aaa.service.impl;

import com.aaa.dao.RecharGerecordDao;
import com.aaa.dao.impl.RecharGerecordDaoImol;
import com.aaa.entity.RecharGereCord;
import com.aaa.service.RecharGerecordService;

import java.util.List;

public class RecharGerecordServiceImpl implements RecharGerecordService {
    RecharGerecordDao recharGerecordDao = new RecharGerecordDaoImol();

    @Override
    public int InsertRecharGerecord(RecharGereCord recharGereCord) {
        int i = recharGerecordDao.InsertRecharGerecord(recharGereCord);
        int j = recharGerecordDao.UpdateCardAmount(recharGereCord);
        return 1;
    }

}
